﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shop.Core.Domain.Catalog
{
    /// <summary>
    /// Represents a product category mapping
    /// </summary>
    public partial class ProductCategory : BaseEntity<long>
    {
        /// <summary>
        /// 是否是默认品类
        /// </summary>
        public virtual bool IsDefaultCategory
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the display order
        /// </summary>
        public virtual int DisplayOrder
        {
            get;
            set;
        }

        /// <summary>
        /// 对应的品类Id
        /// </summary>
        public virtual string CategoryId
        {
            get;
            set;
        }

        /// <summary>
        /// 对应商品Id
        /// </summary>
        public virtual string ProductId
        {
            get;
            set;
        }
    }
}
